package com.bsoft.apiservice.service;


import com.bsoft.apiservice.dto.LabRequisition;
import com.bsoft.apiservice.dto.LabRequisitionMx;
import com.bsoft.apiservice.mapper.LabRequisitionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LabRequisitionService {

    @Autowired
    private LabRequisitionMapper labRequisitionMapper;

    public int addLabRequisition(LabRequisition labRequisition) {
        return labRequisitionMapper.addSqd(labRequisition);
    }
    public int addLabRequisitionMx(LabRequisitionMx labRequisitionMx) {
        return labRequisitionMapper.addSqdMx(labRequisitionMx);
    }
}